package com.dlc.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @Author lth
 * @Date 2021/7/21 16:25
 */
@Data
@TableName("tz_category_shop")
public class CategoryShop {
    /**
     * 主键
     */
    @TableId
    private Long categoryShopId;

    @Schema(description = "店铺id" )
    private Long shopId;

    @Schema(description = "分类id" , requiredMode = Schema.RequiredMode.REQUIRED)
    private Long categoryId;

    @Schema(description = "扣率: 为空代表采用平台扣率（1代表1%）" )
    private Double rate;

    @Schema(description = "授权资质图片，以,分割" )
    private String qualifications;

    @Schema(description = "签约状态：1：已通过 0待审核 -1未通过" )
    private Integer status;
}
